import { ItemData } from "../info/ItemData";
type int = number;
//class CommonActiveInfo
    
    export  class CommonActiveInfo
    {
       

        public initParse(): void
        {
            var loc2=0;
            this.rewardItemDatas = new Array<any>();
            var loc1=this.rewards.split("#");
            var loc3=0;
            while (loc3 < loc1.length) 
            {
                loc2 = int(loc1[loc3]);
                this.rewardItemDatas.push(new ItemData(loc2));
                ++loc3;
            }
            this.itemCodeArray = new Array<any>();
            loc1 = this.itemcodes.split("#");
            var loc4=0;
            while (loc4 < loc1.length) 
            {
                loc2 = int(loc1[loc4]);
                this.itemCodeArray.push(loc2);
                ++loc4;
            }
            return;
        }

        public /* var */id: int;

        public /* var */title: string;

        public /* var */category: int;

        public /* var */type: int;

        public /* var */rewards: string;

        public /* var */itemcodes: string;

        public /* var */tip1: string;

        public /* var */tip2: string;

        public /* var */tip3: string;

        public /* var */tip4: string;

        public /* var */tip5: string;

        public /* var */tip6: string;

        public /* var */tip7: string;

        public /* var */tip8: string;

        public /* var */tip9: string;

        public /* var */rewardItemDatas: Array<any>;

        public /* var */itemCodeArray: Array<any>;
    }
